package com.tre.jdevtemplateboot.annotatiaon;

import java.lang.annotation.*;

/**
 * @author JDev
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestLimiterValidate {
    int limiterType() default 1;
    int frequency() default 4;
    int cycle() default 2 * 60 * 1000;
    String message() default "请求过于频繁";
}
